package com.changli01._static;

public class Apply {
    public static void main(String[] args) {
        Circle c1 = new Circle();
        System.out.println(c1.id);
        Circle c2 = new Circle();
        System.out.println(c2.id);
        System.out.println(Circle.total);
    }
}
class Circle {
    int radius;
    int id;
    static int total = 0;
    public Circle (){
        this.id = init;
        init++;
        total++;
    }
    static int init = 1001;
}
